import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/tabbar/Home.vue'
import Member from '../components/tabbar/Member.vue'
import Car from '../components/tabbar/Car.vue'
import Search from '../components/tabbar/Search.vue'
import newslist from '../components/news/newslist.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {path:'/',redirect:'/home'},
    {path:'/home',component:Home},
    {path:'/member',component:Member},
    {path:'/car',component:Car},
    {path:'/search',component:Search},
    {path:'/newslist',component:newslist}
  ],
  linkActiveClass:'mui-active'
})
